#ifndef MAIN_H_
#define MAIN_H_

#define ADC_MEASURE_DELAY 100

/**
 * Wrapper to execute the adc_asyncRead for the light sensor as a task.
 */
void startReadLight();
/** Wrapper to execute the adc_asyncRead for the temperature sensor as a task.
 */
void startReadTemp();
/** Wrapper to execute the adc_asyncRead for the joystick as a task.
 */
void startReadJoystick();

/** The light sensor callback for adc_asyncRead.
 * 	Displays the actual value from the light sensor on the lcd.
 */
void cb_displayLight(uint16_t adcValue);
/** The temperature sensor callback for adc_asyncRead.
 *  Displays the actual value from the temperature sensor on the lcd.
 */
void cb_displayTemp(uint16_t adcValue);
/** The joystick callback for adc_asyncRead.
 * 	Displays the actual direction of the joystick on the lcd.
 */
void cb_displayJoystick(uint16_t adcValue);

#endif /* MAIN_H_ */
